﻿<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>工艺规程</title>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="../../../Scripts/jquery-1.11.2.min.js"></script>
    <style type="text/css">
        .headTable
        {
            margin: 15px 0px;
            width:380px;
            height:70px;
        }
         .headTable td
        {
            border-spacing: 0;
            height: 34px;
            border: 1px solid blue;
        }
        .container
        {
            width: 700px;
            margin: 0 auto;
            text-align: center;
            margin-top: 5px;
        }
        
        *
        {
            margin: 0;
            padding: 0;
        }
        
        html, body
        {
            font-family: '宋体' !important;
        }
        
        table
        {
            border-spacing: 0;
            border-collapse: collapse;
            width: 700px;
        }
        
        .table
        {
            margin-top: -1px;
        }
        
        /* 标题 */
        .table .title
        {
            font-weight: bold;
            font-size: 24px;
            letter-spacing: 0.2em;
        }
        
        .table td
        {
            border-spacing: 0;
            height: 36px;
            border: 1px solid blue;
            font-size: 16px;
        }
        
        /* 表头 */
        .table-title td
        {
            line-height: 25px;
            height: 25px;
        }
        
        /*条码区*/
        .code
        {
            font-family: C39HrP48DmTt;
            font-size: 70px;
            height: 70px;
            margin: 15px 0px;
            overflow: hidden;
            float:right;
        }
        
        .code > .containerid
        {
            float: right;
        }
        .titleName
        {
            font-weight:bold
        }
    </style>
</head>
<body>
    <div class="container">
    </div>
    <script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
    <script src="/InSiteWebApplication/Scripts/json2.js" type="text/javascript"></script>
    <script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
    <script type="text/javascript">
        var page = {
            url: getRootPath() + "/Ashx/GongZhuangContainer/GZContainerWorkflowPrintHandler.ashx", //后台处理逻辑url
            init: function () {
                page.bind();
            },
            bind: function () {
                $.ajax({
                    type: "Post",
                    url: page.url,
                    data: { action: "GetPage", ContainerId: getParam("ContainerId"), WorkflowId: getParam("WorkflowId"), IsBlank: getParam("IsBlank") },
                    cashe: false,
                    success: function (data) {
                        var result = JSON.parse(data);
                        if (result.Result) {
                            $(".container").append(result.ReturnData);
                            if (result.ReturnData == "") {
                                alert("暂无数据");
                            }
                        } else {
                            alert(result.Message);
                        }
                    },
                    error: function (XMLHttpRequest, textStatus, errorThrown) {
                        displayMessage(XMLHttpRequest.responseText, false);
                    }
                });
            }
        }
        page.init();
    </script>
</body>
</html>
